package com.cd.javacxy.module.web.dao;

import com.cd.javacxy.common.model.entity.CxyExam;
import com.cd.javacxy.common.model.query.ExamQuery;

import java.util.List;

/**
 * CxyExam的Dao接口
 *
 * @author yanghy
 */
public interface CxyExamDao {

    int insert(CxyExam exam);

    List<CxyExam> selectExamRand(ExamQuery examQuery);

    List<CxyExam> selectListWithRightAnswer(ExamQuery examQuery);

    List<CxyExam> selectExamUsers(ExamQuery examQuery);

    int selectExamUsersCount(ExamQuery examQuery);
}